package cn.csc.module.shoppingCard.controller.admin.project.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.math.BigInteger;

/**
 * @author liuchuang
 * @version 1.0
 * @modify
 * @since 2025/3/31 15:20
 */
@Setter
@Getter
public class CardProjectStatisticRespVO {

    @ApiModelProperty(value = "主键id", required = true)
    private BigInteger id;

    /**
     * 总张数
     */
    @ApiModelProperty(value = "总张数")
    @NotNull(message = "总张数不能为空")
    @Min(value = 1, message = "总张数最小为1")
    @Max(value = 10000, message = "总张数最大为10000")
    private Integer totalNum;

    /**
     * 激活数量
     */
    @ApiModelProperty(value = "激活数量")
    private Integer activateNum;

    /**
     * 已使用总金额
     */
    @ApiModelProperty(value = "已使用总金额")
    private BigDecimal amountSpent;

    /**
     * 已使用总金额占比
     */
    @ApiModelProperty(value = "已使用总金额占比")
    private BigDecimal amountSpentProportion;



}
